<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>Giveda® Embedded Midware: GRegion类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">Giveda® Embedded Midware
   &#160;<span id="projectnumber">1.2.0</span>
   </div>
   <div id="projectbrief">本文档受《版权法》、《版权公约》保护。深圳技达®版权所有</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>首页</span></a></li>
      <li><a href="namespaces.html"><span>命名空间</span></a></li>
      <li class="current"><a href="annotated.html"><span>类</span></a></li>
      <li><a href="files.html"><span>文件</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="搜索" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>类列表</span></a></li>
      <li><a href="classes.html"><span>类索引</span></a></li>
      <li><a href="hierarchy.html"><span>类继承关系</span></a></li>
      <li><a href="functions.html"><span>类成员</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>全部</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>类</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>命名空间</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>文件</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>函数</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>变量</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>类型定义</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>枚举</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>枚举值</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>友元</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>宏定义</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(11)"><span class="SelectionMark">&#160;</span>页</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="class_g_region-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">GRegion类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p><a class="el" href="class_g_region.html" title="GRegion 代表二维平面中的一个区域（由若干个矩形区域组成）。对二维平面上的区域进行各种数学运算。 ">GRegion</a> 代表二维平面中的一个区域（由若干个矩形区域组成）。对二维平面上的区域进行各种数学运算。  
 <a href="class_g_region.html#details">更多...</a></p>

<p><code>#include &lt;gRegion.h&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a5a54a1e0141b03f6462bb7dc3291dd40"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_region.html#a5a54a1e0141b03f6462bb7dc3291dd40">GRegion</a> ()</td></tr>
<tr class="memdesc:a5a54a1e0141b03f6462bb7dc3291dd40"><td class="mdescLeft">&#160;</td><td class="mdescRight">构造一个空区域  <a href="#a5a54a1e0141b03f6462bb7dc3291dd40">更多...</a><br/></td></tr>
<tr class="separator:a5a54a1e0141b03f6462bb7dc3291dd40"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac01fd2a39917a4cbed834a5fcb3433d8"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_region.html#ac01fd2a39917a4cbed834a5fcb3433d8">GRegion</a> (const <a class="el" href="class_g_rect.html">GRect</a> &amp;r)</td></tr>
<tr class="memdesc:ac01fd2a39917a4cbed834a5fcb3433d8"><td class="mdescLeft">&#160;</td><td class="mdescRight">使用指定的矩形去构造一个区域。构造出来的区域和指定的矩形是一样的。  <a href="#ac01fd2a39917a4cbed834a5fcb3433d8">更多...</a><br/></td></tr>
<tr class="separator:ac01fd2a39917a4cbed834a5fcb3433d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a555d6a6fe9dc3661ab40940b2693d9b6"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_region.html#a555d6a6fe9dc3661ab40940b2693d9b6">GRegion</a> (const <a class="el" href="class_g_region.html">GRegion</a> &amp;reg)</td></tr>
<tr class="memdesc:a555d6a6fe9dc3661ab40940b2693d9b6"><td class="mdescLeft">&#160;</td><td class="mdescRight">拷贝构造函数  <a href="#a555d6a6fe9dc3661ab40940b2693d9b6">更多...</a><br/></td></tr>
<tr class="separator:a555d6a6fe9dc3661ab40940b2693d9b6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a39257284d4420d516c4a80668891d247"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_region.html#a39257284d4420d516c4a80668891d247">~GRegion</a> ()</td></tr>
<tr class="separator:a39257284d4420d516c4a80668891d247"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac707328433cbdc1576559727297f44ba"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_g_region.html">GRegion</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_region.html#ac707328433cbdc1576559727297f44ba">intersect</a> (const <a class="el" href="class_g_region.html">GRegion</a> &amp;r)</td></tr>
<tr class="memdesc:ac707328433cbdc1576559727297f44ba"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回本区域和指定区域 r 的交集（相交的区域）  <a href="#ac707328433cbdc1576559727297f44ba">更多...</a><br/></td></tr>
<tr class="separator:ac707328433cbdc1576559727297f44ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad6a7cc2520fce3e749a05407cb5985e0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_g_region.html">GRegion</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_region.html#ad6a7cc2520fce3e749a05407cb5985e0">intersect</a> (const <a class="el" href="class_g_rect.html">GRect</a> &amp;r)</td></tr>
<tr class="memdesc:ad6a7cc2520fce3e749a05407cb5985e0"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回本区域和指定矩形 r 的交集（相交的区域）  <a href="#ad6a7cc2520fce3e749a05407cb5985e0">更多...</a><br/></td></tr>
<tr class="separator:ad6a7cc2520fce3e749a05407cb5985e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a46592c19100fc566e86bd10dcdc77898"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_region.html#a46592c19100fc566e86bd10dcdc77898">translate</a> (int x, int y)</td></tr>
<tr class="memdesc:a46592c19100fc566e86bd10dcdc77898"><td class="mdescLeft">&#160;</td><td class="mdescRight">在二维平面上，将本区域沿X轴平移 x 像素， 沿Y轴平移 y 像素。  <a href="#a46592c19100fc566e86bd10dcdc77898">更多...</a><br/></td></tr>
<tr class="separator:a46592c19100fc566e86bd10dcdc77898"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1543f4c857d94b5a7fe55b5135857baf"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_region.html#a1543f4c857d94b5a7fe55b5135857baf">isEmpty</a> ()</td></tr>
<tr class="memdesc:a1543f4c857d94b5a7fe55b5135857baf"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回本区域是否为空  <a href="#a1543f4c857d94b5a7fe55b5135857baf">更多...</a><br/></td></tr>
<tr class="separator:a1543f4c857d94b5a7fe55b5135857baf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a37d92fa16ca2bd0a6b1a31c4739998c3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_g_region.html">GRegion</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_region.html#a37d92fa16ca2bd0a6b1a31c4739998c3">operator=</a> (const <a class="el" href="class_g_region.html">GRegion</a> &amp;reg)</td></tr>
<tr class="memdesc:a37d92fa16ca2bd0a6b1a31c4739998c3"><td class="mdescLeft">&#160;</td><td class="mdescRight">判断本区域是否和 reg 指定的区域相同  <a href="#a37d92fa16ca2bd0a6b1a31c4739998c3">更多...</a><br/></td></tr>
<tr class="separator:a37d92fa16ca2bd0a6b1a31c4739998c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7b020f1e4cff00393084ee75ebc78ec5"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_region.html#a7b020f1e4cff00393084ee75ebc78ec5">size</a> () const </td></tr>
<tr class="memdesc:a7b020f1e4cff00393084ee75ebc78ec5"><td class="mdescLeft">&#160;</td><td class="mdescRight">本区域中包含的矩形区域个数  <a href="#a7b020f1e4cff00393084ee75ebc78ec5">更多...</a><br/></td></tr>
<tr class="separator:a7b020f1e4cff00393084ee75ebc78ec5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4f285f52c8b2a26aedc22dbcdca0428c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_g_rect.html">GRect</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_region.html#a4f285f52c8b2a26aedc22dbcdca0428c">at</a> (uint32_t i) const </td></tr>
<tr class="memdesc:a4f285f52c8b2a26aedc22dbcdca0428c"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回第 i 个矩形  <a href="#a4f285f52c8b2a26aedc22dbcdca0428c">更多...</a><br/></td></tr>
<tr class="separator:a4f285f52c8b2a26aedc22dbcdca0428c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aec0ec50e82de022e746d9b0c7a312090"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_region.html#aec0ec50e82de022e746d9b0c7a312090">append</a> (const <a class="el" href="class_g_rect.html">GRect</a> &amp;r)</td></tr>
<tr class="memdesc:aec0ec50e82de022e746d9b0c7a312090"><td class="mdescLeft">&#160;</td><td class="mdescRight">添加矩形到本区域中  <a href="#aec0ec50e82de022e746d9b0c7a312090">更多...</a><br/></td></tr>
<tr class="separator:aec0ec50e82de022e746d9b0c7a312090"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p><a class="el" href="class_g_region.html" title="GRegion 代表二维平面中的一个区域（由若干个矩形区域组成）。对二维平面上的区域进行各种数学运算。 ">GRegion</a> 代表二维平面中的一个区域（由若干个矩形区域组成）。对二维平面上的区域进行各种数学运算。 </p>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a class="anchor" id="a5a54a1e0141b03f6462bb7dc3291dd40"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GRegion::GRegion </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>构造一个空区域 </p>

</div>
</div>
<a class="anchor" id="ac01fd2a39917a4cbed834a5fcb3433d8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GRegion::GRegion </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_g_rect.html">GRect</a> &amp;&#160;</td>
          <td class="paramname"><em>r</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>使用指定的矩形去构造一个区域。构造出来的区域和指定的矩形是一样的。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">r</td><td>... </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a555d6a6fe9dc3661ab40940b2693d9b6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GRegion::GRegion </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_g_region.html">GRegion</a> &amp;&#160;</td>
          <td class="paramname"><em>reg</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>拷贝构造函数 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">reg</td><td>... </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a39257284d4420d516c4a80668891d247"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual GRegion::~GRegion </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a class="anchor" id="aec0ec50e82de022e746d9b0c7a312090"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void GRegion::append </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_g_rect.html">GRect</a> &amp;&#160;</td>
          <td class="paramname"><em>r</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>添加矩形到本区域中 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">r</td><td>... </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>void </dd></dl>

</div>
</div>
<a class="anchor" id="a4f285f52c8b2a26aedc22dbcdca0428c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_g_rect.html">GRect</a>&amp; GRegion::at </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>i</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>返回第 i 个矩形 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">i</td><td>... </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd><a class="el" href="class_g_rect.html" title="GRect 代表二维平面中的一个矩形区域。对二维平面上的一个矩形区域进行各种数学运算。 ">GRect</a>&amp; </dd></dl>

</div>
</div>
<a class="anchor" id="ac707328433cbdc1576559727297f44ba"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_g_region.html">GRegion</a> GRegion::intersect </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_g_region.html">GRegion</a> &amp;&#160;</td>
          <td class="paramname"><em>r</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>返回本区域和指定区域 r 的交集（相交的区域） </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">r</td><td>... </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd><a class="el" href="class_g_region.html" title="GRegion 代表二维平面中的一个区域（由若干个矩形区域组成）。对二维平面上的区域进行各种数学运算。 ">GRegion</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ad6a7cc2520fce3e749a05407cb5985e0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_g_region.html">GRegion</a> GRegion::intersect </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_g_rect.html">GRect</a> &amp;&#160;</td>
          <td class="paramname"><em>r</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>返回本区域和指定矩形 r 的交集（相交的区域） </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">r</td><td>... </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd><a class="el" href="class_g_region.html" title="GRegion 代表二维平面中的一个区域（由若干个矩形区域组成）。对二维平面上的区域进行各种数学运算。 ">GRegion</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a1543f4c857d94b5a7fe55b5135857baf"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool GRegion::isEmpty </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>返回本区域是否为空 </p>
<dl class="section return"><dt>返回</dt><dd>bool </dd></dl>

</div>
</div>
<a class="anchor" id="a37d92fa16ca2bd0a6b1a31c4739998c3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_g_region.html">GRegion</a>&amp; GRegion::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_g_region.html">GRegion</a> &amp;&#160;</td>
          <td class="paramname"><em>reg</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>判断本区域是否和 reg 指定的区域相同 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">reg</td><td>... </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd><a class="el" href="class_g_region.html" title="GRegion 代表二维平面中的一个区域（由若干个矩形区域组成）。对二维平面上的区域进行各种数学运算。 ">GRegion</a>&amp; </dd></dl>

</div>
</div>
<a class="anchor" id="a7b020f1e4cff00393084ee75ebc78ec5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t GRegion::size </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>本区域中包含的矩形区域个数 </p>
<dl class="section return"><dt>返回</dt><dd>uint32_t </dd></dl>

</div>
</div>
<a class="anchor" id="a46592c19100fc566e86bd10dcdc77898"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void GRegion::translate </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>在二维平面上，将本区域沿X轴平移 x 像素， 沿Y轴平移 y 像素。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">x</td><td>... </td></tr>
    <tr><td class="paramname">y</td><td>... </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>void </dd></dl>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>API/<a class="el" href="g_region_8h.html">gRegion.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
生成于 2019年 三月 23日 星期六 14:13:10 , 为 Giveda® Embedded Midware使用  &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>
